<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- designer-manual.qdoc -->
  <title>Qt Designer's Editing Modes | Qt设计师手册</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="../qtdoc/index.html">Qt 5.12</a></td><td ><a href="qtdesigner-manual.html">Qt设计师手册</a></td><td >
			Qt <span lang="zh-cn">设计师的编辑模式</span></td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtdesigner-manual.html">Qt 5.12.3 参考指南</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
  <link rel="prev" href="designer-to-know.html" />
  <link rel="next" href="designer-layouts.html" />
<p class="naviNextPrevious headerNavi">
<a class="prevPage" href="designer-to-know.html"><span lang="zh-cn">开始了解Qt设计师</span></a>
<span class="naviSeparator">  &#9702;  </span>
<a class="nextPage" href="designer-layouts.html"><span lang="zh-cn">在Qt设计师中使用布局</span></a>
</p><p/>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Qt <span lang="zh-cn">设计师的编辑模式</span></h1>
<span class="subtitle"></span>
<!-- $$$designer-editing-mode.html-description -->
<div class="descr"> <a name="details"></a>
<p><i><font style="vertical-align: inherit;">Qt Designer</font></i><font style="vertical-align: inherit;">提供四种编辑模式：</font><a href="file:///E:/WLL/work/Qt5.12-Document-Trans-in-Chinese/qtdesigner/designer-widget-mode.html"><font style="vertical-align: inherit;">控件编辑模式</font></a><font style="vertical-align: inherit;">、</font><a href="file:///E:/WLL/work/Qt5.12-Document-Trans-in-Chinese/qtdesigner/designer-connection-mode.html"><font style="vertical-align: inherit;">信号和槽编辑模式</font></a><font style="vertical-align: inherit;">、</font><a href="file:///E:/WLL/work/Qt5.12-Document-Trans-in-Chinese/qtdesigner/designer-buddy-mode.html"><font style="vertical-align: inherit;">伙伴编辑模式</font></a><font style="vertical-align: inherit;">和</font><a href="file:///E:/WLL/work/Qt5.12-Document-Trans-in-Chinese/qtdesigner/designer-tab-order.html"><font style="vertical-align: inherit;">标签顺序编辑模式</font></a><font style="vertical-align: inherit;">。使用</font><i><font style="vertical-align: inherit;">Qt Designer 时</font></i><font style="vertical-align: inherit;">，您将始终处于这四种模式之一。要在模式之间切换，只需从“</font><b><font style="vertical-align: inherit;">编辑”</font></b><font style="vertical-align: inherit;">菜单或工具栏中选择<span lang="zh-cn">模式</span>。下表更详细地描述了这些模式。</font></p>
<div class="table"><table class="generic">
 <thead><tr class="qt-style"><th ></th><th ><b><font style="vertical-align: inherit;">编辑模式</font></b></th></tr></thead>
<tr valign="top" class="odd"><td ><img src="images/designer-widget-tool.png" alt="" /></td><td ><font style="vertical-align: inherit;">在</font><a href="file:///E:/WLL/work/Qt5.12-Document-Trans-in-Chinese/qtdesigner/designer-widget-mode.html"><font style="vertical-align: inherit;">编辑</font></a><font style="vertical-align: inherit;">模式下，我们可以更改表单的外观、添加布局以及编辑每个小部件的属性。要切换到此模式，请按</font><b><font style="vertical-align: inherit;">F3</font></b><font style="vertical-align: inherit;">。这是</font><i><font style="vertical-align: inherit;">Qt Designer</font></i><font style="vertical-align: inherit;">的默认模式。</font></td></tr>
<tr valign="top" class="even"><td ><img src="images/designer-connection-tool.png" alt="" /></td><td ><font style="vertical-align: inherit;">在</font><a href="file:///E:/WLL/work/Qt5.12-Document-Trans-in-Chinese/qtdesigner/designer-connection-mode.html"><font style="vertical-align: inherit;"><span lang="zh-cn">信号和槽</span></font></a><font style="vertical-align: inherit;">模式下，我们可以使用 Qt 的信号和插槽机制将小部件连接在一起。要切换到此模式，请按</font><b><font style="vertical-align: inherit;">F4</font></b><font style="vertical-align: inherit;">。</font></td></tr>
<tr valign="top" class="odd"><td ><img src="images/designer-buddy-tool.png" alt="" /></td><td ><font style="vertical-align: inherit;">在</font><a href="file:///E:/WLL/work/Qt5.12-Document-Trans-in-Chinese/qtdesigner/designer-buddy-mode.html"><font style="vertical-align: inherit;"><span lang="zh-cn">伙伴</span>编辑模式中</font></a><font style="vertical-align: inherit;">，可以将好友小部件分配给标签小部件，以帮助他们正确处理键盘焦点。</font></td></tr>
<tr valign="top" class="even"><td ><img src="images/designer-tab-order-tool.png" alt="" /></td><td ><font style="vertical-align: inherit;">在</font><a href="file:///E:/WLL/work/Qt5.12-Document-Trans-in-Chinese/qtdesigner/designer-tab-order.html"><font style="vertical-align: inherit;"><span lang="zh-cn">标签顺序编辑模式</span> 中</font></a><font style="vertical-align: inherit;">，我们可以设置小部件接收键盘焦点的顺序。</font></td></tr>
</table></div>
</div>
<!-- @@@designer-editing-mode.html -->
<p class="naviNextPrevious footerNavi">
<a class="prevPage" href="designer-to-know.html"><span lang="zh-cn">开始了解Qt设计师</span></a>
<span class="naviSeparator">  &#9702;  
<a class="nextPage" href="designer-layouts.html"><span lang="zh-cn">在Qt设计师中使用布局</span></a></span>
</p>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>
